home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / redakcyjne / programy / FEBE (Firefox Environment Backup Extension) 5.0 / febe-5.0-fx.xpi / chrome / febe.jar / content / febeOverlay.xul < prev    next >
Extensible Markup Language  |  2007-06-01  |  12KB  |  252 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://febe/skin/febe.css" type="text/css"?>
  3.  
  4. <!DOCTYPE overlay SYSTEM "chrome://febe/locale/febe.dtd">
  5.  
  6. <overlay id="febeOverlay"
  7.                  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  8.                  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  9.  
  10.     <stringbundleset id="stringbundleset"> 
  11.         <stringbundle id="febe-strings" src="chrome://febe/locale/febe.properties"/>
  12.     </stringbundleset>
  13.  
  14.     <script type="application/x-javascript" src="chrome://febe/content/febeCommon.js"/>
  15.     <script type="application/x-javascript" src="chrome://febe/content/febe.js"/>
  16.     <script type="application/x-javascript" src="chrome://febe/content/febeScheduleBackup.js"/>
  17.     <script type="application/x-javascript" src="chrome://febe/content/febeUDBu.js"/>
  18.     <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  19.     <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  20.     <script type="application/x-javascript" src="chrome://febe/content/febeDrag.js"/>
  21.  
  22.     <toolbarpalette id="BrowserToolbarPalette">
  23.         <toolbarbutton id="febeTLBRbutton" 
  24.                                      type="menu-button"
  25.                                      class="toolbarbutton-1 chromeclass-toolbar-additional"
  26.                                      label="FEBE"
  27.                                      tooltiptext="&febe.caption.bu;"
  28.                                      hidden = "false"
  29.                                      visible = "true"
  30.                                      status="normal"
  31.                                      oncommand="if(!febeInit()){window.openDialog('chrome://febe/content/febeOptions.xul','','','DestDirID')}">
  32.  
  33.             <menupopup id="febe_tlbr_menupopup"
  34.                                  oncommand="event.stopPropagation();">
  35.                 <menuitem id="febe_tlbr_doBackup"
  36.                                     label="&febe.caption.bu;"
  37.                                     tooltiptext="&febe.caption.bu;"
  38.                                     accesskey="&febe.accesskey.bu;"
  39.                                     oncommand="if(!febeInit()){window.openDialog('chrome://febe/content/febeOptions.xul','','','DestDirID')}"/>            
  40.                     <menu id="febe_tlbr_restorePopups"
  41.                                 label="&febe.caption.restore;"
  42.                                 tooltiptext="&febe.caption.restore;"
  43.                                 accesskey="&febe.accesskey.restore;" >
  44.                         <menupopup id="febe_tlbr_restore_popup">
  45.                             <menuitem id="febe_tlbr_restoreExtensions"
  46.                                                 label="&febe.caption.restore.ext;"
  47.                                                 tooltiptext="&febe.caption.restore.ext;"
  48.                                                 accesskey="&febe.accesskey.re;" 
  49.                                                 oncommand="febeRestoreExtensions();"/>
  50.                             <menuitem id="febe_tlbr_restoreThemes"
  51.                                                 label="&febe.caption.restore.theme;"
  52.                                                 tooltiptext="&febe.caption.restore.theme;"
  53.                                                 accesskey="&febe.accesskey.rt;"
  54.                                                 oncommand="febeRestoreThemes();"/>
  55.                             <menuitem id="febe_tlbr_restoreBookmarks" 
  56.                                                 label="&febe.caption.restore.bookmarks;"
  57.                                                 tooltiptext="&febe.caption.restore.bookmarks;"
  58.                                                 accesskey="&febe.accesskey.bm;"
  59.                                                 oncommand="febeRestoreBookmarks();"/>
  60.                             <menuitem id="febe_tlbr_restorePreferences" 
  61.                                                 label="&febe.caption.restore.preferences;"
  62.                                                 tooltiptext="&febe.caption.restore.preferences;"
  63.                                                 accesskey="&febe.accesskey.pr;"
  64.                                                 oncommand="febeRestorePreferences();"/>
  65.                             <menuitem id="febe_tlbr_restoreCookies"
  66.                                                 label="&febe.caption.restore.cookies;"
  67.                                                 tooltiptext="&febe.caption.restore.cookies;"
  68.                                                 accesskey="&febe.accesskey.ck;"
  69.                                                 oncommand="febeRestoreCookies();"/>
  70.                             <menuitem id="febe_tlbr_restoreUserChrome" 
  71.                                                 label="&febe.caption.restore.uchrome;"
  72.                                                 tooltiptext="&febe.caption.restore.uchrome;"
  73.                                                 accesskey="&febe.accesskey.uchrome;"
  74.                                                 oncommand="febeRestoreUserChrome();"/>
  75.                             <menuitem id="febe_tlbr_restoreUserContent" 
  76.                                                 label="&febe.caption.restore.ucontent;"
  77.                                                 tooltiptext="&febe.caption.restore.ucontent;"
  78.                                                 accesskey="&febe.accesskey.ucontent;"
  79.                                                 oncommand="febeRestoreUserContent();"/>
  80.                             <menuitem id="febe_tlbr_restorePasswords" 
  81.                                                 label="&febe.caption.restore.pwd;"
  82.                                                 tooltiptext="&febe.caption.restore.pwd;"
  83.                                                 accesskey="&febe.accesskey.pwd;"
  84.                                                 oncommand="febeRestorePasswords();"/>
  85.                             <menuitem id="febe_tlbr_restorePhishingData"
  86.                                                 label="&febe.caption.restore.phishingdata;"
  87.                                                 tooltiptext="&febe.caption.restore.phishingdata;"
  88.                                                 accesskey="&febe.accesskey.pd;"
  89.                                                 oncommand="febeRestorePhishingData();"/>
  90.                             <menuitem id="febe_tlbr_restoreSearchPlugins" 
  91.                                                 label="&febe.caption.restore.plugins;"
  92.                                                 tooltiptext="&febe.caption.restore.plugins;"
  93.                                                 accesskey="&febe.accesskey.plugins;"
  94.                                                 oncommand="febeRestoreSearchPlugins();"/>
  95.                             <menuitem id="febe_tlbr_restoreHistory"
  96.                                                 label="&febe.caption.restore.history;"
  97.                                                 tooltiptext="&febe.caption.restore.history;"
  98.                                                 accesskey="&febe.accesskey.bh;"
  99.                                                 oncommand="febeRestoreBrowserHistory();"/>
  100.                             <menuitem id="febe_tlbr_restoreFFhistory"
  101.                                                 label="&febe.caption.restore.ffhistory;"
  102.                                                 tooltiptext="&febe.caption.restore.ffhistory;"
  103.                                                 accesskey="&febe.accesskey.ff;"
  104.                                                 oncommand="febeRestoreFormFillHistory();"/>
  105.                             <menuitem id="febe_tlbr_restorePermissions"
  106.                                                 label="&febe.caption.restore.permissions;"
  107.                                                 tooltiptext="&febe.caption.restore.permissions;"
  108.                                                 accesskey="&febe.accesskey.pm;"
  109.                                                 oncommand="febeRestorePermissions();"/>
  110.                                 <menu id="febe_tlbr_restoreUDBUpopup"
  111.                                             label="&febe.caption.restore.UDBU;"
  112.                                             tooltiptext="&febe.caption.restore.UDBU;"
  113.                                             accesskey="&febe.accesskey.udbu;">
  114.                                     <menupopup id="febe_tlbr_restoreUDB_popup"
  115.                                                             onpopupshowing = "febe_fillUDBUmenu('febe_tlbr_restoreUDB_popup');"/>
  116.                                 </menu>
  117.                             <menuitem id="febe_tlbr_restoreProfile"
  118.                                                 label="&febe.caption.restore.profile;"
  119.                                                 tooltiptext="&febe.caption.restore.profile;"
  120.                                                 accesskey="&febe.accesskey.up;"
  121.                                                 oncommand="febeRestoreProfile();"/>
  122.                         </menupopup>
  123.                     </menu>
  124.                     <menuseparator id="febe_tlbr_seperator"/>
  125.                 <menuitem id="febe_tlbr_options"
  126.                                     label="&febe.menuoptions.label;"
  127.                                     tooltiptext="&febe.menuoptions.label;"
  128.                                     accesskey="&febe.accesskey.opt;"
  129.                                     oncommand="febeOptions();"/>
  130.             </menupopup>
  131.         </toolbarbutton>
  132.     </toolbarpalette>
  133.  
  134.     <popup id="menu_ToolsPopup">
  135.         <menu id="febe_tools_menu_FEBE"
  136.                     label="FEBE"
  137.                     tooltiptext="FEBE"
  138.                     accesskey="&febe.accesskey.tools;"
  139.                     insertbefore="devToolsSeparator">
  140.             <menupopup id="febe_tools_menu_menupopup">
  141.                 <menuitem id="febe_tools_menu_doBackup"
  142.                                     label="&febe.caption.bu;"
  143.                                     tooltiptext="&febe.caption.bu;"
  144.                                     accesskey="&febe.accesskey.bu;"
  145.                                     oncommand="if(!febeInit()){window.openDialog('chrome://febe/content/febeOptions.xul','','','DestDirID')}" />
  146.                     <menu id="febe_tools_menu_restorePopups"
  147.                                 label="&febe.caption.restore;"
  148.                                 tooltiptext="&febe.caption.restore;"
  149.                                 accesskey="&febe.accesskey.restore;">
  150.                         <menupopup id="febe_tools_menu_restore_menuopup">
  151.                             <menuitem id="febe_tools_menu_restoreExtensions"
  152.                                                 label="&febe.caption.restore.ext;"
  153.                                                 tooltiptext="&febe.caption.restore.ext;"
  154.                                                 accesskey="&febe.accesskey.re;" 
  155.                                                 oncommand="febeRestoreExtensions();"/>
  156.                             <menuitem id="febe_tools_menu_restoreThemes"
  157.                                                 label="&febe.caption.restore.theme;"
  158.                                                 tooltiptext="&febe.caption.restore.theme;"
  159.                                                 accesskey="&febe.accesskey.rt;"
  160.                                                 oncommand="febeRestoreThemes();"/>
  161.                             <menuitem id="febe_tools_menu_restoreBookmarks"
  162.                                                 label="&febe.caption.restore.bookmarks;"
  163.                                                 tooltiptext="&febe.caption.restore.bookmarks;"
  164.                                                 accesskey="&febe.accesskey.bm;"
  165.                                                 oncommand="febeRestoreBookmarks();"/>
  166.                             <menuitem id="febe_tools_menu_restorePreferences"
  167.                                                 label="&febe.caption.restore.preferences;"
  168.                                                 tooltiptext="&febe.caption.restore.preferences;"
  169.                                                 accesskey="&febe.accesskey.pr;"
  170.                                                 oncommand="febeRestorePreferences();"/>
  171.                             <menuitem id="febe_tools_menu_restoreCookies"
  172.                                                 label="&febe.caption.restore.cookies;"
  173.                                                 tooltiptext="&febe.caption.restore.cookies;"
  174.                                                 accesskey="&febe.accesskey.ck;"
  175.                                                 oncommand="febeRestoreCookies();"/>
  176.                             <menuitem id="febe_tools_menu_restoreUserChrome"
  177.                                                 label="&febe.caption.restore.uchrome;"
  178.                                                 tooltiptext="&febe.caption.restore.uchrome;"
  179.                                                 accesskey="&febe.accesskey.uchrome;"
  180.                                                 oncommand="febeRestoreUserChrome();"/>
  181.                             <menuitem id="febe_tools_menu_restoreUserContent"
  182.                                                 label="&febe.caption.restore.ucontent;"
  183.                                                 tooltiptext="&febe.caption.restore.ucontent;"
  184.                                                 accesskey="&febe.accesskey.ucontent;"
  185.                                                 oncommand="febeRestoreUserContent();"/>
  186.                             <menuitem id="febe_tools_menu_restorePasswords"
  187.                                                 label="&febe.caption.restore.pwd;"
  188.                                                 tooltiptext="&febe.caption.restore.pwd;"
  189.                                                 accesskey="&febe.accesskey.pwd;"
  190.                                                 oncommand="febeRestorePasswords();"/>
  191.                             <menuitem id="febe_tools_menu_restorePhishingData"
  192.                                                 label="&febe.caption.restore.phishingdata;"
  193.                                                 tooltiptext="&febe.caption.restore.phishingdata;"
  194.                                                 accesskey="&febe.accesskey.pd;"
  195.                                                 oncommand="febeRestorePhishingData();"/>
  196.                             <menuitem id="febe_tools_menu_restoreSearchPlugins"
  197.                                                 label="&febe.caption.restore.plugins;" 
  198.                                                 tooltiptext="&febe.caption.restore.plugins;"
  199.                                                 accesskey="&febe.accesskey.plugins;"
  200.                                                 oncommand="febeRestoreSearchPlugins();"/>
  201.                             <menuitem id="febe_tools_menu_restoreHistory"
  202.                                                 label="&febe.caption.restore.history;"
  203.                                                 tooltiptext="&febe.caption.restore.history;"
  204.                                                 accesskey="&febe.accesskey.bh;"
  205.                                                 oncommand="febeRestoreBrowserHistory();"/>
  206.                             <menuitem id="febe_tools_menu_restoreFFhistory"
  207.                                                 label="&febe.caption.restore.ffhistory;"
  208.                                                 tooltiptext="&febe.caption.restore.ffhistory;"
  209.                                                 accesskey="&febe.accesskey.ff;"
  210.                                                 oncommand="febeRestoreFormFillHistory();"/>
  211.                             <menuitem id="febe_tools_menu_restorePermissions"
  212.                                                 label="&febe.caption.restore.permissions;"
  213.                                                 tooltiptext="&febe.caption.restore.permissions;"
  214.                                                 accesskey="&febe.accesskey.pm;"
  215.                                                 oncommand="febeRestorePermissions();"/>
  216.                                 <menu id="febe_tlbr_restoreUDBUpopup"
  217.                                             label="&febe.caption.restore.UDBU;"
  218.                                             tooltiptext="&febe.caption.restore.UDBU;"
  219.                                             accesskey="&febe.accesskey.udbu;" >
  220.                                     <menupopup id="febe_menu_restoreUDB_popup"
  221.                                                          onpopupshowing = "febe_fillUDBUmenu('febe_menu_restoreUDB_popup');"/>
  222.                                 </menu>
  223.                             <menuitem id="febe_tools_menu_restoreProfile"
  224.                                                 label="&febe.caption.restore.profile;"
  225.                                                 tooltiptext="&febe.caption.restore.profile;"
  226.                                                 accesskey="&febe.accesskey.up;"
  227.                                                 oncommand="febeRestoreProfile();"/>
  228.                         </menupopup>
  229.                     </menu>
  230.                     <menuseparator id="febe_tools_menu_seperator"/>
  231.                     <menuitem id="febe_tools_menu_options"
  232.                                         label="&febe.menuoptions.label;"
  233.                                         tooltiptext="&febe.menuoptions.label;"
  234.                                         accesskey="&febe.accesskey.opt;"
  235.                                         oncommand="febeOptions();"/>
  236.                 </menupopup>
  237.             </menu>
  238.         </popup>
  239.  
  240.     <!-- Create statusbar icon -->
  241.     <statusbar id="status-bar">
  242.         <statusbarpanel id="febestatusbar"
  243.                                         status="normal"
  244.                                         class="statusbarpanel-iconic"
  245.                                         insertbefore="statusbar-display"
  246.                                         ondraggesture="nsDragAndDrop.startDrag(event,febeStatObserver);"
  247.                                         onclick="febeAbortBackup();">
  248.             <image id="febestatusicon"/>
  249.         </statusbarpanel>
  250.     </statusbar>
  251. </overlay>
  252.